package org.datascooter.test.example;

import java.util.Date;

import org.datascooter.impl.Data;

public class Offer extends Data {

	private static final long serialVersionUID = -7688647132004333854L;
	public String name;
	public String tradeId;
	public Long price;
	public Date start;
	public Date stop;
	public String userId;

	public Offer() {
	}

	public Offer(String name, String tradeId, Long price, Date start, Date stop, String userId) {
		this.name = name;
		this.tradeId = tradeId;
		this.price = price;
		this.start = start;
		this.stop = stop;
		this.userId = userId;
	}

	@Override
	public String toString() {
		return name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTradeId() {
		return tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public Long getPrice() {
		return price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getStop() {
		return stop;
	}

	public void setStop(Date stop) {
		this.stop = stop;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
}
